package com.qfjy.java2102.Enum;

public enum ResponseEnum {
    SUCCESS("200","登录成功"),
    FAILURE("500","请输入正确的账号密码"),
    FAILURECOUNT("515","密码五次错误，20分钟后重新登录"),
    FAILUREUSERNAME("516","账号错误"),
    FAILUREPASSWORD("517","密码错误");
    private String code;
    private String msg;

    ResponseEnum(String code, String msg) {

        this.code = code;
        this.msg = msg;
    }
    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
